package mn.idax.exchange.otc.mapper;

import mn.idax.exchange.otc.entity.Pair;
import mn.idax.exchange.otc.entity.PairExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

@Mapper
public interface PairMapper {
    int countByExample(PairExample example);

    int deleteByExample(PairExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Pair record);

    int insertSelective(Pair record);

    List<Pair> selectByExampleWithRowbounds(PairExample example, RowBounds rowBounds);

    List<Pair> selectByExample(PairExample example);

    List<Pair> selectCoinImg();

    Pair selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Pair record, @Param("example") PairExample example);

    int updateByExample(@Param("record") Pair record, @Param("example") PairExample example);

    int updateByPrimaryKeySelective(Pair record);

    int updateByPrimaryKey(Pair record);
}